package com.qf.day08.book;

public class Book {
    //图书编号
    private int bookId;
    //图书名称
    private String bookName;
    //位置
    private String location;

    public Book() {
    }

    public Book(String bookName, String location) {
        this.bookName = bookName;
        this.location = location;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", location='" + location + '\'' +
                '}';
    }
}
